package org.jetnuke.common;

public class ValidationItem {
	public String getLabel() {
		return label;
	}

	public void setLabel(String label) {
		this.label = label;
	}

	String paramName;

	String label;

	boolean required = false;

	String validationClass;

	Integer minLength;

	Integer maxLength;

	public Integer getMaxLength() {
		return maxLength;
	}

	public void setMaxLength(Integer maxLength) {
		this.maxLength = maxLength;
	}

	public Integer getMinLength() {
		return minLength;
	}

	public void setMinLength(Integer minLength) {
		this.minLength = minLength;
	}

	public String getParamName() {
		return paramName;
	}

	public boolean isRequired() {
		return required;
	}

	public String getValidationClass() {
		return validationClass;
	}

	/**
	 * @param paramName
	 */
	public void setParamName(String paramName) {
		this.paramName = paramName;
	}

	/**
	 * @param b
	 */
	public void setRequired(boolean b) {
		required = b;

	}

	/**
	 * @param validationClass
	 */
	public void setValidationClass(String validationClass) {
		this.validationClass = validationClass;
	}

}
